package com.dianxin.smartpark.service.attendance;

import com.chinatelecom.response.common.CommonResponseBody;
import com.dianxin.smartpark.dao.qo.attendance.SmartParkHolidayDetailQO;
import com.dianxin.smartpark.service.vo.attendance.SmartParkHolidayDetailVO;

import java.util.List;

/**
 * @program: smart-park
 * @description:
 * @author: chenyong
 * @create: 2021-07-20 11:41
 */
public interface SmartParkHolidayDetailService {
    

    /**
     * @Description: 分页查询
     * @Author: ChenYong
     * @Date: 2021/7/20 0020
     * @param smartParkHolidayDetailQO:
     * @Return: CommonResponseBody<List<SmartParkHolidayDetailVO>>
     */
    CommonResponseBody<List<SmartParkHolidayDetailVO>> getHolidayDetails(SmartParkHolidayDetailQO smartParkHolidayDetailQO);

    /**
     * @Description: 通过时间查询是否存在数据
     * @Author: ChenYong
     * @Date: 2021/7/22 0022
     * @param smartParkHolidayDetailQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody queryByDate(SmartParkHolidayDetailQO smartParkHolidayDetailQO);

    /**
     * @Description:  添加节假日
     * @Author: ChenYong
     * @Date: 2021/7/21 0021
     * @param smartParkHolidayDetailQO:
     * @Return: CommonResponseBody<Boolean>
     */
    CommonResponseBody saveHolidayDetail(SmartParkHolidayDetailQO smartParkHolidayDetailQO);

    /**
     * @Description:  通过qo查询List
     * @Author: ChenYong
     * @Date: 2021/7/21 0021
     * @param smartParkHolidayDetailQO:
     * @Return: CommonResponseBody<List<SmartParkHolidayDetailVO>>
     */
    CommonResponseBody<List<SmartParkHolidayDetailVO>> getListAll(SmartParkHolidayDetailQO smartParkHolidayDetailQO);

    /**
     * @Description:  删除
     * @Author: ChenYong
     * @Date: 2021/7/23 0023
     * @param smartParkHolidayDetailQO:
     * @Return: CommonResponseBody
     */
    CommonResponseBody deleteHolidayDetail(SmartParkHolidayDetailQO smartParkHolidayDetailQO);
}
